#ifndef AST_H
#define AST_H

#include "Agent.h"
#include <pthread.h>
#include <string>

class Ast : public Agent
{
 public:
		
  Ast(std::string ip, int port);
  ~Ast();
  void start();
  static void *gere_ecrire(void * arg);
  static void *gere_lire(void * arg);
  void msgText();
  void msgOral();

  pthread_t ecrire;
  pthread_t lire;
		
 private:
 
 std::string etulogin;
	
};

#endif
